package com.hualan.bean;


import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.util.Date;
import java.util.List;

public class PanghuAfterSaleOrder {
    /**
     * 售后订单id
     */

    private Integer afterSaleOrderId;

    /**
     * 订单状态 1 待处理， 2 完成处理
     */
    private Integer afterSaleStatus;

    /**
     * 售后订单类型 1 团购售后订单， 2 家政售后订单
     */
    private Integer afterSaleOrderType;


    /**
     * 售后订单的规格id
     */
    private Integer afterSaleGoodsSpecId;

    /**
     * 订单申请时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /**
     * 售后订单备注
     */
    private String afterSaleNote;

    /**
     * 售后订单完成时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date afterSaleCompleteTime;

    /**
     * 关联的订单id
     */
    private Integer orderId;

    /**
     * 售后商品数
     */
    private Integer afterSaleGoodsNum;

    /**
     * 售后商品id
     */
    private Integer afterSaleGoodsId;

    /**
     * 售后申请原因
     */
    private String applyReason;


    private List<PanghuAfterSaleOrderImage> afterSaleOrderImageList;


    private PanghuBulkOrder bulkOrder;

    // 获取对应的家政服务订单

    private PanghuDomesticOrder domesticOrder;

    /**
     * 获取售后订单id
     *
     * @return after_sale_order_id - 售后订单id
     */
    public Integer getAfterSaleOrderId() {
        return afterSaleOrderId;
    }

    /**
     * 设置售后订单id
     *
     * @param afterSaleOrderId 售后订单id
     */
    public void setAfterSaleOrderId(Integer afterSaleOrderId) {
        this.afterSaleOrderId = afterSaleOrderId;
    }

    /**
     * 获取订单状态 1 待处理， 2 完成处理
     *
     * @return after_sale_status - 订单状态 1 待处理， 2 完成处理
     */
    public Integer getAfterSaleStatus() {
        return afterSaleStatus;
    }

    /**
     * 设置订单状态 1 待处理， 2 完成处理
     *
     * @param afterSaleStatus 订单状态 1 待处理， 2 完成处理
     */
    public void setAfterSaleStatus(Integer afterSaleStatus) {
        this.afterSaleStatus = afterSaleStatus;
    }

    /**
     * 获取订单申请时间
     *
     * @return apply_time - 订单申请时间
     */
    public Date getApplyTime() {
        return applyTime;
    }

    /**
     * 设置订单申请时间
     *
     * @param applyTime 订单申请时间
     */
    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    /**
     * 获取售后订单备注
     *
     * @return after_sale_note - 售后订单备注
     */
    public String getAfterSaleNote() {
        return afterSaleNote;
    }

    /**
     * 设置售后订单备注
     *
     * @param afterSaleNote 售后订单备注
     */
    public void setAfterSaleNote(String afterSaleNote) {
        this.afterSaleNote = afterSaleNote;
    }

    /**
     * 获取售后订单完成时间
     *
     * @return after_sale_complete_time - 售后订单完成时间
     */
    public Date getAfterSaleCompleteTime() {
        return afterSaleCompleteTime;
    }

    /**
     * 设置售后订单完成时间
     *
     * @param afterSaleCompleteTime 售后订单完成时间
     */
    public void setAfterSaleCompleteTime(Date afterSaleCompleteTime) {
        this.afterSaleCompleteTime = afterSaleCompleteTime;
    }

    /**
     * 获取关联的订单id
     *
     * @return order_id - 关联的订单id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置关联的订单id
     *
     * @param orderId 关联的订单id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取售后商品数
     *
     * @return after_sale_goods_num - 售后商品数
     */
    public Integer getAfterSaleGoodsNum() {
        return afterSaleGoodsNum;
    }

    /**
     * 设置售后商品数
     *
     * @param afterSaleGoodsNum 售后商品数
     */
    public void setAfterSaleGoodsNum(Integer afterSaleGoodsNum) {
        this.afterSaleGoodsNum = afterSaleGoodsNum;
    }

    /**
     * 获取售后商品id
     *
     * @return after_sale_goods_id - 售后商品id
     */
    public Integer getAfterSaleGoodsId() {
        return afterSaleGoodsId;
    }

    /**
     * 设置售后商品id
     *
     * @param afterSaleGoodsId 售后商品id
     */
    public void setAfterSaleGoodsId(Integer afterSaleGoodsId) {
        this.afterSaleGoodsId = afterSaleGoodsId;
    }

    /**
     * 获取售后申请原因
     *
     * @return apply_reason - 售后申请原因
     */
    public String getApplyReason() {
        return applyReason;
    }

    /**
     * 设置售后申请原因
     *
     * @param applyReason 售后申请原因
     */
    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

    public List<PanghuAfterSaleOrderImage> getAfterSaleOrderImageList() {
        return afterSaleOrderImageList;
    }

    public void setAfterSaleOrderImageList(List<PanghuAfterSaleOrderImage> afterSaleOrderImageList) {
        this.afterSaleOrderImageList = afterSaleOrderImageList;
    }

    public PanghuBulkOrder getBulkOrder() {
        return bulkOrder;
    }

    public void setBulkOrder(PanghuBulkOrder bulkOrder) {
        this.bulkOrder = bulkOrder;
    }

    public Integer getAfterSaleOrderType() {
        return afterSaleOrderType;
    }

    public void setAfterSaleOrderType(Integer afterSaleOrderType) {
        this.afterSaleOrderType = afterSaleOrderType;
    }

    public Integer getAfterSaleGoodsSpecId() {
        return afterSaleGoodsSpecId;
    }

    public void setAfterSaleGoodsSpecId(Integer afterSaleGoodsSpecId) {
        this.afterSaleGoodsSpecId = afterSaleGoodsSpecId;
    }

    public PanghuDomesticOrder getDomesticOrder() {
        return domesticOrder;
    }

    public void setDomesticOrder(PanghuDomesticOrder domesticOrder) {
        this.domesticOrder = domesticOrder;
    }
}